package com.example.xpvideo.entity;

import java.math.BigDecimal;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 砍价配置表(LsBargainKnife)实体类
 *
 * @author 
 * @since 2021-09-23 11:59:52
 */
@ApiModel("砍价配置表")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsBargainKnife implements Serializable {
    private static final long serialVersionUID = 473522337199388113L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
    @ApiModelProperty(value="$column.comment",position=1)
    private Integer id;

    /**
    * 砍价活动ID
    * isnull 0
    */        @ApiModelProperty(value="砍价活动ID",position=2)
    private Integer bargainId;
    /**
    * 砍价发起ID
    * isnull 0
    */        @ApiModelProperty(value="砍价发起ID",position=3)
    private Integer launchId;
    /**
    * 用户ID
    * isnull 0
    */        @ApiModelProperty(value="用户ID",position=4)
    private Integer userId;
    /**
    * 砍掉后剩余金额
    * isnull 0
    */        @ApiModelProperty(value="砍掉后剩余金额",position=5)
    private BigDecimal surplusPrice;
    /**
    * 助力砍掉金额
    * isnull 0
    */        @ApiModelProperty(value="助力砍掉金额",position=6)
    private BigDecimal helpPrice;
    /**
    * 助力砍价时间
    * isnull 0
    */        @ApiModelProperty(value="助力砍价时间",position=7)
    private Integer helpTime;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getBargainId() {
        return bargainId;
    }

    public void setBargainId(Integer bargainId) {
        this.bargainId = bargainId;
    }
        
    public Integer getLaunchId() {
        return launchId;
    }

    public void setLaunchId(Integer launchId) {
        this.launchId = launchId;
    }
        
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
        
    public BigDecimal getSurplusPrice() {
        return surplusPrice;
    }

    public void setSurplusPrice(BigDecimal surplusPrice) {
        this.surplusPrice = surplusPrice;
    }
        
    public BigDecimal getHelpPrice() {
        return helpPrice;
    }

    public void setHelpPrice(BigDecimal helpPrice) {
        this.helpPrice = helpPrice;
    }
        
    public Integer getHelpTime() {
        return helpTime;
    }

    public void setHelpTime(Integer helpTime) {
        this.helpTime = helpTime;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"bargainId\":" + bargainId +
                            " ,\"launchId\":" + launchId +
                            " ,\"userId\":" + userId +
                            " ,\"surplusPrice\":" + surplusPrice +
                            " ,\"helpPrice\":" + helpPrice +
                            " ,\"helpTime\":" + helpTime +
                  '}';
    }


}
